package cc.magicjson.example.demo.ali.app.domain;

import java.util.List;

public class CityNode {

    List<TreeNode> treeNode;
    private Long cityId;
    private String cityName;

    public CityNode() {
    }

    public CityNode(Long cityId, String cityName, List<TreeNode> treeNode) {
        this.cityId = cityId;
        this.treeNode = treeNode;
        this.cityName = cityName;
    }

    public List<TreeNode> getTreeNode() {
        return treeNode;
    }

    public void setTreeNode(List<TreeNode> treeNode) {
        this.treeNode = treeNode;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    @Override
    public String toString() {
        return "CityNode{" +
                "cityId=" + cityId +
                ", cityName='" + cityName + '\'' +
                ", treeNode=" + treeNode +
                '}';
    }
}
